//
//  XYTableView.h
//  LabHelper
//
//  Created by 找汽配 on 2017/5/31.
//  Copyright © 2017年 XiangYun. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "XYImageScrollViewModel.h"

@protocol XYImageScrollViewDelegate;

@interface XYImageScrollView : UIView

@property (nonatomic, strong) UIImage * defaultImage;
@property (nonatomic, weak) id<XYImageScrollViewDelegate> delegate;
@property (nonatomic, weak) id<XYImageScrollViewModelAction> modelAction;

- (void)reloadData;
- (void)setImages:(NSArray<UIImage *>*)images;
- (void)setImageURLs:(NSArray<NSString *>*)imageURLs;

@end

@protocol XYImageScrollViewDelegate <NSObject>

- (void)imageScrollViewDidSelectImageAtIndex:(NSInteger)index;

@end
